jQuery.effects||function(b,c){function n(g){var a;return g&&g.constructor==Array&&3==g.length?g:(a=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g))?[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10)]:(a=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g))?[2.55*parseFloat(a[1]),2.55*parseFloat(a[2]),2.55*parseFloat(a[3])]:(a=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g))?[parseInt(a[1],16),parseInt(a[2],
16),parseInt(a[3],16)]:(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g))?[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]:/rgba\(0, 0, 0, 0\)/.exec(g)?i.transparent:i[b.trim(g).toLowerCase()]}function k(){var b=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,a={},d,f;if(b&&b.length&&b[0]&&b[b[0]])for(var h=b.length;h--;)d=b[h],"string"==typeof b[d]&&(f=d.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()}),a[f]=b[d]);else for(d in b)"string"==
typeof b[d]&&(a[d]=b[d]);return a}function e(g){var a,d;for(a in g)d=g[a],(null==d||b.isFunction(d)||a in q||/scrollbar/.test(a)||!/color/i.test(a)&&isNaN(parseFloat(d)))&&delete g[a];return g}function m(b,a){var d={_:0},f;for(f in a)b[f]!=a[f]&&(d[f]=a[f]);return d}function j(g,a,d,f){"object"==typeof g&&(f=a,d=null,a=g,g=a.effect);b.isFunction(a)&&(f=a,d=null,a={});if("number"==typeof a||b.fx.speeds[a])f=d,d=a,a={};return b.isFunction(d)&&(f=d,d=null),a=a||{},d=d||a.duration,d=b.fx.off?0:"number"==
typeof d?d:d in b.fx.speeds?b.fx.speeds[d]:b.fx.speeds._default,f=f||a.complete,[g,a,d,f]}function l(g){return!g||"number"==typeof g||b.fx.speeds[g]?!0:"string"==typeof g&&!b.effects[g]?!0:!1}b.effects={};b.each("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor borderColor color outlineColor".split(" "),function(g,a){b.fx.step[a]=function(d){if(!d.colorInit){var f;f=d.elem;var h=a,g;do{g=(b.curCSS||b.css)(f,h);if(g!=""&&g!="transparent"||b.nodeName(f,"body"))break;
h="backgroundColor"}while(f=f.parentNode);f=n(g);d.start=f;d.end=n(d.end);d.colorInit=true}d.elem.style[a]="rgb("+Math.max(Math.min(parseInt(d.pos*(d.end[0]-d.start[0])+d.start[0],10),255),0)+","+Math.max(Math.min(parseInt(d.pos*(d.end[1]-d.start[1])+d.start[1],10),255),0)+","+Math.max(Math.min(parseInt(d.pos*(d.end[2]-d.start[2])+d.start[2],10),255),0)+")"}});var i={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,
0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,
255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},p=["add","remove","toggle"],q={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};b.effects.animateClass=function(g,a,d,f){return b.isFunction(d)&&(f=d,d=null),this.queue(function(){var h=
b(this),c=h.attr("style")||" ",i=e(k.call(this)),j,l=h.attr("class")||"";b.each(p,function(a,b){g[b]&&h[b+"Class"](g[b])});j=e(k.call(this));h.attr("class",l);h.animate(m(i,j),{queue:!1,duration:a,easing:d,complete:function(){b.each(p,function(a,b){g[b]&&h[b+"Class"](g[b])});"object"==typeof h.attr("style")?(h.attr("style").cssText="",h.attr("style").cssText=c):h.attr("style",c);f&&f.apply(this,arguments);b.dequeue(this)}})})};b.fn.extend({_addClass:b.fn.addClass,addClass:function(g,a,d,f){return a?
b.effects.animateClass.apply(this,[{add:g},a,d,f]):this._addClass(g)},_removeClass:b.fn.removeClass,removeClass:function(g,a,d,f){return a?b.effects.animateClass.apply(this,[{remove:g},a,d,f]):this._removeClass(g)},_toggleClass:b.fn.toggleClass,toggleClass:function(g,a,d,f,h){return"boolean"==typeof a||a===c?d?b.effects.animateClass.apply(this,[a?{add:g}:{remove:g},d,f,h]):this._toggleClass(g,a):b.effects.animateClass.apply(this,[{toggle:g},a,d,f])},switchClass:function(g,a,d,f,h){return b.effects.animateClass.apply(this,
[{add:a,remove:g},d,f,h])}});b.extend(b.effects,{version:"1.8.22",save:function(b,a){for(var d=0;d<a.length;d++)null!==a[d]&&b.data("ec.storage."+a[d],b[0].style[a[d]])},restore:function(b,a){for(var d=0;d<a.length;d++)null!==a[d]&&b.css(a[d],b.data("ec.storage."+a[d]))},setMode:function(b,a){return"toggle"==a&&(a=b.is(":hidden")?"show":"hide"),a},getBaseline:function(b,a){var d,f;switch(b[0]){case "top":d=0;break;case "middle":d=0.5;break;case "bottom":d=1;break;default:d=b[0]/a.height}switch(b[1]){case "left":f=
0;break;case "center":f=0.5;break;case "right":f=1;break;default:f=b[1]/a.width}return{x:f,y:d}},createWrapper:function(g){if(g.parent().is(".ui-effects-wrapper"))return g.parent();var a={width:g.outerWidth(!0),height:g.outerHeight(!0),"float":g.css("float")},d=b("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),f=document.activeElement;try{f.id}catch(h){f=document.body}return g.wrap(d),(g[0]===f||b.contains(g[0],f))&&b(f).focus(),
d=g.parent(),"static"==g.css("position")?(d.css({position:"relative"}),g.css({position:"relative"})):(b.extend(a,{position:g.css("position"),zIndex:g.css("z-index")}),b.each(["top","left","bottom","right"],function(b,f){a[f]=g.css(f);isNaN(parseInt(a[f],10))&&(a[f]="auto")}),g.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),d.css(a).show()},removeWrapper:function(g){var a,d=document.activeElement;return g.parent().is(".ui-effects-wrapper")?(a=g.parent().replaceWith(g),(g[0]===
d||b.contains(g[0],d))&&b(d).focus(),a):g},setTransition:function(g,a,d,f){return f=f||{},b.each(a,function(a,b){var e=g.cssUnit(b);0<e[0]&&(f[b]=e[0]*d+e[1])}),f}});b.fn.extend({effect:function(e,a,d,f){var h=j.apply(this,arguments),c={options:h[1],duration:h[2],callback:h[3]},h=c.options.mode,i=b.effects[e];return b.fx.off||!i?h?this[h](c.duration,c.callback):this.each(function(){c.callback&&c.callback.call(this)}):i.call(this,c)},_show:b.fn.show,show:function(b){if(l(b))return this._show.apply(this,
arguments);var a=j.apply(this,arguments);return a[1].mode="show",this.effect.apply(this,a)},_hide:b.fn.hide,hide:function(b){if(l(b))return this._hide.apply(this,arguments);var a=j.apply(this,arguments);return a[1].mode="hide",this.effect.apply(this,a)},__toggle:b.fn.toggle,toggle:function(e){if(l(e)||"boolean"==typeof e||b.isFunction(e))return this.__toggle.apply(this,arguments);var a=j.apply(this,arguments);return a[1].mode="toggle",this.effect.apply(this,a)},cssUnit:function(e){var a=this.css(e),
d=[];return b.each(["em","px","%","pt"],function(b,h){0<a.indexOf(h)&&(d=[parseFloat(a),h])}),d}});b.easing.jswing=b.easing.swing;b.extend(b.easing,{def:"easeOutQuad",swing:function(e,a,d,f,h){return b.easing[b.easing.def](e,a,d,f,h)},easeInQuad:function(b,a,d,f,h){return f*(a/=h)*a+d},easeOutQuad:function(b,a,d,f,h){return-f*(a/=h)*(a-2)+d},easeInOutQuad:function(b,a,d,f,h){return 1>(a/=h/2)?f/2*a*a+d:-f/2*(--a*(a-2)-1)+d},easeInCubic:function(b,a,d,f,h){return f*(a/=h)*a*a+d},easeOutCubic:function(b,
a,d,f,h){return f*((a=a/h-1)*a*a+1)+d},easeInOutCubic:function(b,a,d,f,h){return 1>(a/=h/2)?f/2*a*a*a+d:f/2*((a-=2)*a*a+2)+d},easeInQuart:function(b,a,d,f,h){return f*(a/=h)*a*a*a+d},easeOutQuart:function(b,a,d,f,h){return-f*((a=a/h-1)*a*a*a-1)+d},easeInOutQuart:function(b,a,d,f,h){return 1>(a/=h/2)?f/2*a*a*a*a+d:-f/2*((a-=2)*a*a*a-2)+d},easeInQuint:function(b,a,d,f,h){return f*(a/=h)*a*a*a*a+d},easeOutQuint:function(b,a,d,f,h){return f*((a=a/h-1)*a*a*a*a+1)+d},easeInOutQuint:function(b,a,d,f,h){return 1>
(a/=h/2)?f/2*a*a*a*a*a+d:f/2*((a-=2)*a*a*a*a+2)+d},easeInSine:function(b,a,d,f,h){return-f*Math.cos(a/h*(Math.PI/2))+f+d},easeOutSine:function(b,a,d,f,h){return f*Math.sin(a/h*(Math.PI/2))+d},easeInOutSine:function(b,a,d,f,h){return-f/2*(Math.cos(Math.PI*a/h)-1)+d},easeInExpo:function(b,a,d,f,h){return 0==a?d:f*Math.pow(2,10*(a/h-1))+d},easeOutExpo:function(b,a,d,f,h){return a==h?d+f:f*(-Math.pow(2,-10*a/h)+1)+d},easeInOutExpo:function(b,a,d,f,h){return 0==a?d:a==h?d+f:1>(a/=h/2)?f/2*Math.pow(2,10*
(a-1))+d:f/2*(-Math.pow(2,-10*--a)+2)+d},easeInCirc:function(b,a,d,f,h){return-f*(Math.sqrt(1-(a/=h)*a)-1)+d},easeOutCirc:function(b,a,d,f,h){return f*Math.sqrt(1-(a=a/h-1)*a)+d},easeInOutCirc:function(b,a,d,f,h){return 1>(a/=h/2)?-f/2*(Math.sqrt(1-a*a)-1)+d:f/2*(Math.sqrt(1-(a-=2)*a)+1)+d},easeInElastic:function(b,a,d,f,h){var b=1.70158,e=0,c=f;if(0==a)return d;if(1==(a/=h))return d+f;e||(e=0.3*h);c<Math.abs(f)?(c=f,b=e/4):b=e/(2*Math.PI)*Math.asin(f/c);return-(c*Math.pow(2,10*(a-=1))*Math.sin(2*
(a*h-b)*Math.PI/e))+d},easeOutElastic:function(b,a,d,f,e){var b=1.70158,c=0,i=f;if(0==a)return d;if(1==(a/=e))return d+f;c||(c=0.3*e);i<Math.abs(f)?(i=f,b=c/4):b=c/(2*Math.PI)*Math.asin(f/i);return i*Math.pow(2,-10*a)*Math.sin(2*(a*e-b)*Math.PI/c)+f+d},easeInOutElastic:function(b,a,d,f,e){var b=1.70158,c=0,i=f;if(0==a)return d;if(2==(a/=e/2))return d+f;c||(c=1.5*0.3*e);i<Math.abs(f)?(i=f,b=c/4):b=c/(2*Math.PI)*Math.asin(f/i);return 1>a?-0.5*i*Math.pow(2,10*(a-=1))*Math.sin(2*(a*e-b)*Math.PI/c)+d:
0.5*i*Math.pow(2,-10*(a-=1))*Math.sin(2*(a*e-b)*Math.PI/c)+f+d},easeInBack:function(b,a,d,f,e,i){return i==c&&(i=1.70158),f*(a/=e)*a*((i+1)*a-i)+d},easeOutBack:function(b,a,d,f,e,i){return i==c&&(i=1.70158),f*((a=a/e-1)*a*((i+1)*a+i)+1)+d},easeInOutBack:function(b,a,d,f,e,i){return i==c&&(i=1.70158),1>(a/=e/2)?f/2*a*a*(((i*=1.525)+1)*a-i)+d:f/2*((a-=2)*a*(((i*=1.525)+1)*a+i)+2)+d},easeInBounce:function(e,a,d,f,c){return f-b.easing.easeOutBounce(e,c-a,0,f,c)+d},easeOutBounce:function(b,a,d,f,e){return(a/=
e)<1/2.75?7.5625*f*a*a+d:a<2/2.75?f*(7.5625*(a-=1.5/2.75)*a+0.75)+d:a<2.5/2.75?f*(7.5625*(a-=2.25/2.75)*a+0.9375)+d:f*(7.5625*(a-=2.625/2.75)*a+0.984375)+d},easeInOutBounce:function(e,a,d,f,c){return a<c/2?0.5*b.easing.easeInBounce(e,2*a,0,f,c)+d:0.5*b.easing.easeOutBounce(e,2*a-c,0,f,c)+0.5*f+d}})}(jQuery);


function expertiseCircleHover(){var b,c=$("div.mediumCircle");c.find("h2").addClass("hovered").hide();$(".designCircle h2").removeClass("hovered").fadeIn();c.hover(function(){var c=$(this);$("h2.hovered",this).stop().fadeIn(300);animateCircles($(this));b=setInterval(function(){animateCircles(c)},1E3)},function(){$("h2.hovered",this).fadeOut(200);clearInterval(b);$(".circleAnimate").stop().remove()}).click(function(){$(".mediumCircle h2").not("h2.hovered").addClass("hovered").fadeOut(200);$("h2.hovered",
this).removeClass("hovered").show()})}
function expertiseLines(){var b=2,c=$("div.expertiseListContain div.innerCircle"),n=$("section.expHomeContentContain");c.click(function(){var k=c.index(this);k!==b&&(n.fadeOut(60).delay(50),n.eq(k).fadeIn(),$("div.expVertLine span").stop().animate({left:108+196*k+"px"},800,"easeOutCirc"),b=k)})}
function animateCircles(b){var c=b.width();$(b).append('<span class="circleAnimate"></span>');$(".circleAnimate",b).css("height",$(".innerCircle",b).css("height")).css("width",$(".innerCircle",b).css("width"));var n=$(".innerCircle",b).css("background-color");$(".circleAnimate",b).css("background-color",n);$(".circleAnimate",b).animate({width:c,height:c,opacity:0.7},{duration:300,easing:"easeOutQuint",step:function(){var b=c/2-0.5*$(this).height();$(this).css("top",b);$(this).css("left",b);$(this).css("border-radius",
0.5*$(this).height())},complete:function(){$(this).fadeOut("slow",function(){$(this).remove()})}})};